"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var A = (function () {
    function A(m1, m2, m3, m4) {
        this.m1 = m1;
        this.m2 = m2;
        this.m3 = m3;
        this.m4 = m4;
    }
    A.prototype.toString = function () {
        return "m1=" + this.m1 + " -- m2=" + this.m2 + " -- m3=" + this.m3 + " -- m4=" + this.m4 + "--";
    };
    return A;
}());
var AA = (function (_super) {
    __extends(AA, _super);
    function AA() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    AA.prototype.test = function () {
        console.log(this.m3);
    };
    return AA;
}(A));
var a = new A('a', 'b', 'c', 'd');
console.log(a.m1, a.m2);
console.log(a.m1, a.m2);
var aa = new AA('aa', 'bb', 'cc', 'dd');
var AAA = (function () {
    function AAA() {
    }
    AAA.prototype.test1 = function () { };
    return AAA;
}());
